import request from '@/utils/request'

// 诊疗列表
export function listDiagnosis(query) {
  return request({
    url: '/system/diagnosis-treatment/list',
    method: 'get',
    params: query
  })
}

// 删除诊疗
export function delDiagnosis(data) {
  return request({
    url: '/system/diagnosis-treatment/delete',
    method: 'post',
	data:data
  })
}

// 新增诊疗
export function insertDiagnosis(data) {
  return request({
    url: '/system/diagnosis-treatment/insert',
    method: 'post',
	data:data
  }) 
}

// 编辑诊疗
export function editDiagnosis(data) {
  return request({
    url: '/system/diagnosis-treatment/edit',
    method: 'post',
	data:data
  }) 
}

// 所有诊疗
export function allListDiagnosis() {
  return request({
    url: '/system/diagnosis-treatment/allList',
    method: 'get'
  }) 
}

// 诊疗详情
export function detailDiagnosis(data) {
  return request({
    url: '/system/diagnosis-treatment/detail',
    method: 'post',
	data:data
  }) 
}